package com.funfei.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.funfei.entity.User;

public interface UserDao  extends JpaRepository<User, Long> {  
	  
	  @Query("SELECT c FROM user c")  
	  List<User> findAll();
	  
}
